package server;

import java.net.InetAddress;

public class ConnectionInformation implements IConnectionInformation {

	/**
	 * 
	 */
	private static final long serialVersionUID = 4510988436227875205L;

	private InetAddress IP;
	
	private short Port;
	
//---------------------------------------------------------------------	
	
	public ConnectionInformation(InetAddress ip, short port) {
		IP = ip;
		Port = port;
	}
	
	public InetAddress getIP() {
		return IP;
	}

	public short getPort() {
		return Port;
	}

	public void putIP(InetAddress IP) {
		this.IP = IP;
	}

	public void putPort(short port) {
		this.Port = port;
	}

}
